.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: #fff;
    padding-bottom: 60px;

    .navbar {
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .content {
        flex: 1;
        overflow-y: auto;
        background: #f5f7fa;
        padding-bottom: 60px;

        .courseImage {
            width: 100%;
            height: 240px;
            overflow: hidden;
            position: relative;
            
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .courseInfo {
            background: #fff;
            margin-top: -20px;
            border-radius: 20px 20px 0 0;
            padding: 20px 16px;
            position: relative;
            z-index: 1;

            .header {
                margin-bottom: 16px;

                .title {
                    font-size: 20px;
                    font-weight: bold;
                    color: #333;
                    margin: 0 0 12px;
                }

                .tags {
                    display: flex;
                    gap: 8px;
                    flex-wrap: wrap;

                    .tag {
                        font-size: 12px;
                        padding: 2px 8px;
                    }
                }
            }

            .priceSection {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 20px;

                .price {
                    display: flex;
                    align-items: baseline;

                    .symbol {
                        font-size: 16px;
                        color: #ff4d4f;
                    }

                    .amount {
                        font-size: 24px;
                        font-weight: bold;
                        color: #ff4d4f;
                        margin: 0 4px;
                    }

                    .originalPrice {
                        font-size: 14px;
                        color: #999;
                        text-decoration: line-through;
                    }
                }

                .students {
                    font-size: 14px;
                    color: #666;
                    display: flex;
                    align-items: center;
                    gap: 4px;
                }
            }

            .infoList {
                background: #f8f9fc;
                border-radius: 12px;
                padding: 16px;
                margin-bottom: 20px;

                .infoItem {
                    display: flex;
                    align-items: center;
                    margin-bottom: 12px;
                    
                    &:last-child {
                        margin-bottom: 0;
                    }

                    .icon {
                        font-size: 18px;
                        color: #666;
                        margin-right: 8px;
                    }

                    .label {
                        color: #666;
                        margin-right: 4px;
                    }

                    .value {
                        color: #333;
                        font-weight: 500;
                    }
                }
            }

            .section {
                margin-bottom: 20px;

                .sectionTitle {
                    font-size: 18px;
                    font-weight: bold;
                    color: #333;
                    margin: 0 0 12px;
                    position: relative;
                    padding-left: 12px;

                    &::before {
                        content: '';
                        position: absolute;
                        left: 0;
                        top: 4px;
                        bottom: 4px;
                        width: 4px;
                        background: #1677ff;
                        border-radius: 2px;
                    }
                }

                .description {
                    font-size: 14px;
                    color: #666;
                    line-height: 1.6;
                    margin: 0;
                }

                .features {
                    .featureItem {
                        display: flex;
                        align-items: center;
                        margin-bottom: 12px;
                        
                        &:last-child {
                            margin-bottom: 0;
                        }

                        .featureIcon {
                            font-size: 16px;
                            color: #1677ff;
                            margin-right: 8px;
                        }

                        span {
                            font-size: 14px;
                            color: #666;
                        }
                    }
                }
            }
        }
    }

    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 8px 16px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
        z-index: 100;

        .actions {
            width: 100%;
            justify-content: space-between;

            .consultBtn {
                flex: 1;
                margin-right: 12px;
                --background-color: #f0f2ff;
                --text-color: #1677ff;
            }

            .bookBtn {
                flex: 2;
            }
        }
    }
}

.customerServicePopup {
    padding: 16px;

    .popupHeader {
        text-align: center;
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 16px;
    }

    .customerServiceList {
        :global {
            .adm-list-item {
                padding: 12px;
                
                &.disabled {
                    opacity: 0.6;
                    pointer-events: none;
                }
            }
        }

        .statusBadge {
            position: relative;
            
            &::after {
                content: '';
                position: absolute;
                right: 0;
                bottom: 0;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                border: 2px solid #fff;
            }
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }
    }
}

.consultButton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #1677ff;
    color: #fff;
    border-radius: 20px;
    padding: 8px 16px;
    
    &:active {
        opacity: 0.8;
    }
} 